package com.yoda.mall.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yoda.mall.model.entity.oms.OrderReturnReason;

import java.util.List;

public interface OrderReturnReasonApi {
    void createOrderReturnReason(OrderReturnReason orderReturnReason);

    void deleteOrderReturnReasonByIds(List<Long> ids);

    Page<OrderReturnReason> getOrderReturnReasonListPage(Integer pageNum, Integer pageSize);

    void updateOrderReturnReasonStatusByIds(List<Long> ids, Integer status);

    void updateOrderReturnReason(OrderReturnReason orderReturnReason);

    OrderReturnReason getOrderReturnReasonById(Long id);
}
